package test2;

public class c {
    public static int numofHan(String data[]){
        int i=0;
        int count=0;
        for(i=0;i<10;i++){
            if(data[i]="汉族"){
                count++;
            }
        }
        return count;
    }
}
